import request from '@/plugin/axios'
import util from '@/libs/util.js'

export default {

	list (data) {
		return request({
			url: 'operatetrade/list',
			headers: {},
			method: 'post',
			data,
		});
	},

	withdrawList (data) {
		return request({
			url: 'operatetrade/withdrawList',
			headers: {},
			method: 'post',
			data,
		});
	},

	add (data) {
		return request({
			url: 'operatetrade/add',
			headers: {},
			method: 'post',
			data,
		});
	},

	actionCheck (data) {
		return request({
			url: 'operatetrade/actionCheck',
			headers: {},
			method: 'post',
			data,
		});
	},

	actionRecheck (data) {
		return request({
			url: 'operatetrade/actionRecheck',
			headers: {},
			method: 'post',
			data,
		});
	},

	actionMoney (data) {
		return request({
			url: 'operatetrade/actionMoney',
			headers: {},
			method: 'post',
			data,
		});
	},

	actionUnfreeze (data) {
		return request({
			url: 'operatetrade/actionUnfreeze',
			headers: {},
			method: 'post',
			data,
		});
	},

	getTypeOptions (data) {
		return request({
			url: 'operatetrade/getTypeOptions',
			headers: {},
			method: 'post',
			data,
		});
	},
	getStepOptions (data) {
		return request({
			url: 'operatetrade/getStepOptions',
			headers: {},
			method: 'post',
			data,
		});
	},

	getStatusOptions (data) {
		return request({
			url: 'operatetrade/getStatusOptions',
			headers: {},
			method: 'post',
			data,
		});
	},

	getAccountTypeOptions (data) {
		return request({
			url: 'operatetrade/getAccountTypeOptions',
			headers: {},
			method: 'post',
			data,
		});
	},
};